using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Xml;

namespace NHTrace
{
  public class LogMessage
  {
    public string ApplicationName { get; set; }
    public string Message { get; set; }
    public DateTime TimeStamp { get; set; }
    public long Id { get; set; }

    public static LogMessage Clone(LogMessage msg)
    {
      var newMsg = new LogMessage();
      newMsg.ApplicationName = msg.ApplicationName;
      newMsg.Id = msg.Id;
      newMsg.Message = msg.Message;
      newMsg.TimeStamp = msg.TimeStamp;
      return newMsg;
    }
  }
}
